package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.MessageReplyRuleKeyword;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by marco on 2017/5/25.
 */
@Repository
public interface MallWechatMessageReplyRuleKeywordRepository extends JpaRepository<MessageReplyRuleKeyword,Long>,JpaSpecificationExecutor,MallWechatMessageReplyRuleKeywordRepositoryCustom {

    List<MessageReplyRuleKeyword> findByMessageReplyRuleId(Long ruleId);
}
